﻿using System;
using BlackBoard;

namespace BlackBoard
{
    public class BlackBoardEntry
    {
        private BlackBoardEntryType name;
        private object value;
        private int ID;
        private static int sID = 0;

        public BlackBoardEntry()
        {
            ID = ++sID;
        }

        public BlackBoardEntry(BlackBoardEntryType name, Object value)
        {
            ID = ++sID;
            this.name = name;
            this.value = value;
        }

        public BlackBoardEntryType getName()
        {
            return name;
        }

        public void setName(BlackBoardEntryType name)
        {
            this.name = name;
        }

        public Object getValue()
        {
            return value;
        }

        public void setValue(Object value)
        {
            this.value = value;
        }

        public int getID()
        {
            return ID;
        }

        public String getTextValue()
        {
            return value.ToString();
        }

    }
}
